A Class Library for the Automization of Class Testing
نویسنده
چکیده
The basic unit of testing object-oriented software is the class Bin94b, MK94]. Hence class testing corresponds in object-oriented software development to unit testing in the traditional, procedural development approach. As a rule, class testing is performed by the programmer of a class by himself and not by a seperate testing group, to decrease the need for coordination MK94]. But in these situation successful testing is strongly embarrassed by psychological restraints: ' It is rather like a potter being asked to demonstrate the strenght of his or her pots by dropping them on the oor. ' Rop94] Here the automization of testing activities could increase the productivity, not just in a sence of a bigger quantitiy of executable test cases, but also in raising the quality of class testing by circumventing these psycholocical restraints. There is a great agreement between researchers , that automication is crucial for successful testing Jac92, Bin94a, MK94]. But it is also obvious that the knowledge and creativity of experienced testing personal should not hindered by innexible tools. This yields exibility as an important design goal of the library: 1. Automatic features shall be widely control-lable through parametrization. 2. The extension of new features and the cus-tomization of implementet features shall be simple. The invariant, and therefore in many testing techniques used, elements of object-oriented class testing are represented as base classes in the library: MethodEvaluator: Is an abstract class, which provides the protocol for executing and evaluating a message to the class under test (like object creation) or to an object of that class, created by a message execution from its class under test. Since evaluation already has to be prepared before the execution of the message , both properties can just be deened by subclasses like PrintrepEvaluator or AssertionEvaluator. Represents test cases as a sequence of evaluators to the class under test followed by a sequence of evaluators to an object of the class under test, which is created as a result of the execution of the primary message sequence. Regressor: Implements methods for storing, retrieving and repeated execution of once entered test cases. Regression testing can be seen as a sine qua non Bin94b], especially in the context of inheritance. Also since the degree of automication during creation of test cases should be widely adjustable, the support of regression testing becomes the more important , the less automatization is used. Hence the base classes …
منابع مشابه
شناسایی نوع و مدل وسیله نقلیه با استفاده از مجموعه بخشهای متمایزکننده
In fine-grained recognition, the main category of object is well known and the goal is to determine the subcategory or fine-grained category. Vehicle make and model recognition (VMMR) is a fine-grained classification problem. It includes several challenges like the large number of classes, substantial inner-class and small inter-class distance. VMMR can be utilized when license plate numbers ca...
متن کاملA New Class of Zero-Inflated Logarithmic Series Distribution
Through this paper we suggest an alternative form of the modified zero-inflated logarithmic series distribution of Kumar and Riyaz (Statistica, 2013) and study some of its important aspects. The method of maximum likelihood is employed for estimating the parameters of the distribution and certain test procedures are considered for testing the significance of the additional parameter of the model. ...
متن کاملImpact of socio-cultural evolution on the determining the middle-class housing typology (in the middle and final period of second Pahlavi)
Introduction: Institutional housing is multi-functional that in order to form it different dimensions must be considered. One of the most important of these dimensions is the social class of its inhabitants. Its social and cultural factors influence the formation of social classes in any society. The modernization of government in the Pahlavi era led to the formation of a new middle class along...
متن کاملPotential of Trachyspermum ammi (ajwain) Gel for Treatment of Facial Acne vulgaris: a Pilot Study with Skin Biophysical Profile Assessment and Red Fluorescence Photography
Background and objectives: Acne vulgaris is one of the most common dermatologic conditions. The available anti-acne treatments are not satisfactory and safe. In...
متن کاملتاثیر جراحی بای پس عروق کرونری بر سطح عملکردی بیماران تنگی عروق کرونری
Background & Aims: The purpose of coronary artery bypass graft (CABG) is to increase survival, symptoms improvement and increasing the quality of life of patients, but in some literature there has been conflicting results regarding this issue. The aim of this study was to evaluate the quality of life of patients undergoing coronary artery bypass graft, considering METs )Metabolic equivalents (i...
متن کامل